package com.study.design.demo1;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @author: chenhs
 * @date: Created in 20:13 2019/11/9
 **/
@Component
public class AppListener implements ApplicationListener<OrderEvent> {
    @Override
    public void onApplicationEvent(OrderEvent orderEvent) {
        System.out.println("3、APP应用推送消息成功！");
    }
}
